package nc.ui.rino.single;

import nc.pub.rino.IBillButton;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.businessaction.IBusinessActionType;

/**
 * @author zip
 * @date 16 May 2012 18:13:30
 * @type nc.ui.rino.single.BaseControl
 */
public abstract class BaseControl extends AbstractManageController implements ISingleController {

	public int[] getCardButtonAry() {
		return new int[] {
				IBillButton.Query, //
				IBillButton.Add,
				IBillButton.Delete,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
				IBillButton.Refresh,
				IBillButton.Return
		};
	}

	public int[] getListButtonAry() {
		return new int[] {
				IBillButton.Query, //
				IBillButton.Add,
				IBillButton.Delete,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
				IBillButton.Refresh,
				IBillButton.Card
		};
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return null;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return null;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return false;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return true;
	}

	public boolean isSingleDetail() {
		return false;
	}

}
